<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="selectPrivilegeModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title" id="myModalLabel">
					<i class="mark"></i> 
					<span>选择权限</span>
				</h4>
			</div>
			<div class="modal-body">
				<div class="row">
					<div jstree 
						tree-config="privCatalogTreeConfig.config" 						
						tree-status="privCatalogTreeConfig.status" 						
						tree-multiple="privCatalogTreeConfig.multiple" 					
						tree-animation="privCatalogTreeConfig.animation" 					
						tree-events="select_node:privCatalogTreeConfig.events.selectNode"  
						tree-data="privCatalogTreeConfig.data" 							
						tree-selected="privCatalogTreeConfig.selected" 					
						tree-types="privCatalogTreeConfig.types" 							
						tree-plugins="privCatalogTreeConfig.plugins" 						
						tree-icons="privCatalogTreeConfig.icons"
						tree-search="privCatalogTreeConfig.search"
						class="col-md-6"></div>
					
					<div class="table-responsive col-md-6">
						<table id="privTable" 
							data-side-pagination="server"
							data-row-style="rowStyle" 
							data-pagination="true"
							data-page-size="5" 
							data-query-params-type=""
							data-id-field="id" 
							data-single-select="true"
							data-click-to-select="true">
							<thead>
								<tr>
									<th data-checkbox='true' />
									<th data-field="privilegeName">权限名称</th>
								</tr>
							</thead>
						</table>

					</div>
				</div>
			</div>
			<div class="modal-footer">
				<div class="modal-footer-button">
					<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
					<button type="submit" class="btn btn-sm btn-blue" ng-click="selectPrivilege()">确认</button>
				</div>
			</div>
		</div>
	</div>
</div>